import React, { Component } from 'react';
import { getSwiperData } from '../../http/api';
import { Button } from 'antd-mobile';
import 'antd-mobile/dist/antd-mobile.css';  // or 'antd-mobile/dist/antd-mobile.less'

class Home extends Component {
    async componentDidMount() {
        let res = await getSwiperData();
        console.log(res);
    }
    render() {
        return (
            <div>
                home页面
                <Button>Start</Button>
            </div>
        );
    }
}

export default Home;
